package com.woniu.mapper;


import com.woniu.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User getByAccount(String account);

    User getByOpenId(String openId);

    void save(User user);

    void updateOpenIdByAccount(@Param("openId") String openId, @Param("account") String account);
}
